:let define_high = "#define SIB_SW_VERSION_HIGH \"" . expand(ver_high) . "\""
:let define_low =  "#define SIB_SW_VERSION_LOW \"" . expand(ver_low) . "\""
:let define_type =  "SIB_SW_VERSION_HIGH \"\.\" SIB_SW_VERSION_LOW \"" .expand(release_type). "\","
:let define_type =  "\"" . expand(release_type) ."\""
:let define_sw_date =  "\"" . expand(sw_date) ."\""
:let define_model_year =  "\"" . expand(model_year) ."\""

:%s/#define.*HIGH.*\"$/\=define_high/g
:%s/#define.*LOW.*\"$/\=define_low/g
:%s/"[RID]"/\=define_type/g

:call search('".*".*sw_date ', 'W')
:s/\".*\"/\=define_sw_date/g

:call search('".*".*model_year ', 'W')
:s/\".*\"/\=define_model_year/g

:nohls

:wq

